package com.xinlianshiye.im.service

import com.xinlianshiye.im.bean.User
import com.xinlianshiye.im.bean.UserGroup

interface UserGroupService {
    fun getOrElseThrow(id: Int?): UserGroup
    fun getOrCreateDefaultGroup(user: User?): UserGroup
    fun list(userId: Int?): List<UserGroup?>
}